package com.yunqiao.service.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunqiao.common.utils.PageUtils;
import com.yunqiao.service.api.entity.ApplyWithdrawEntity;
import com.yunqiao.service.api.vo.ApplyWithdrawVo;

import java.util.Map;

/**
 * 合伙人申请表
 *
 * @author Crocutax
 * @email wangxw725@163.com
 * @date 2019-03-02 15:04:03
 */
public interface ApplyWithdrawService extends IService<ApplyWithdrawEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPagePartner(Map<String, Object> params);

    ApplyWithdrawVo details(Long id);

    void apply(ApplyWithdrawEntity applyWithdrawEntity);

    void agree(Long id);

    void refuse(Long id);

    void applyWithdraw(ApplyWithdrawEntity applyWithdrawEntity);

    void agreePartner(Long id);

    void refusePartner(Long id);

    ApplyWithdrawVo detailsPartner(Long id);
}

